import Layout from "@/layout";

export default [
  {
    path: "/customer",
    component: Layout,
    name: "customer",
    meta: { title: "客资管理", icon: "el-icon-s-help" },
    children: [
      {
        path: "/customer/task",
        name: "customer_task",
        component: () => import("@/views/customer/task/index"),
        meta: { title: "我的任务", icon: "table" },
      },
      {
        path: "/customer/next",
        name: "customer_next",
        component: () => import("@/views/customer/task/next"),
        meta: { title: "下次跟进", icon: "table" },
      },
      {
        path: "/customer/index",
        name: "customer_index",
        component: () => import("@/views/customer/member/index"),
        meta: { title: "客资公海", icon: "table" },
      },
      {
        path: "/customer/upload",
        name: "customer_upload",
        component: () => import("@/views/customer/upload/index"),
        meta: { title: "客资上传", icon: "table" },
      },
      {
        path: "/customer/cost",
        name: "customer_cost",
        component: () => import("@/views/customer/cost/index"),
        meta: { title: "运营花费", icon: "table" },
      },
    ],
  },
];
